package com.sinosoft.lk.lkssosampleclient.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 绫小路
 * @date 2021/3/6 23:45
 * @description
 */
@Controller
public class WebController {

  @GetMapping("")
  public String index(){
    return "index";
  }

  @GetMapping("ex")
  @ResponseBody
  public Object ex(){
    return "排除的路径！";
  }
}
